package com.sc.smartcommunity.domain;

/**
 * @author Chenke Zhao
 * @date 2025/9/22 23:08
 * @description CarPark
 */
public class CarPark {

    private Long id;

    //车位名称
    private String name;

    //业主
    private String ownerName;

    //车位状态 0：空闲 1：占用 2:出租
    private Integer status;

    public CarPark() {
    }

    public CarPark(Long id, String name, String ownerName, Integer status) {
        this.id = id;
        this.name = name;
        this.ownerName = ownerName;
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
